package com.zgh.dict.module;

import com.xxg.base.module.BaseEntity;

import java.io.Serializable;

public class DictData  extends BaseEntity implements Serializable,Comparable<DictData>{

	private static final long serialVersionUID = 1L;
	

	private long dictTypeId;		//字典类型标识
	private String dictDataCode;		//字典数据编码
	private String dictDataName;		//字典数据名称
	private String status;		//是否启用

	
	//以下信息不存数据库表
	private String dictTypeName;		//对应的字典类型的名称
	

	public long getDictTypeId() {
		return dictTypeId;
	}
	public void setDictTypeId(long dictTypeId) {
		this.dictTypeId = dictTypeId;
	}
	public String getDictDataCode() {
		return dictDataCode;
	}
	public void setDictDataCode(String dictDataCode) {
		this.dictDataCode = dictDataCode;
	}
	public String getDictDataName() {
		return dictDataName;
	}
	public void setDictDataName(String dictDataName) {
		this.dictDataName = dictDataName;
	}
	
	
	public String getDictTypeName() {
		return dictTypeName;
	}
	public void setDictTypeName(String dictTypeName) {
		this.dictTypeName = dictTypeName;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	@Override
	public int compareTo(DictData dictData) {
		return this.getDictDataCode().compareToIgnoreCase(dictData.getDictDataCode());
	}
	
	
	
}
